package backend.rss.items;

public class TagItem implements Item
{
	private String id;
	private String label;
	private int weight;
	
	public TagItem(String id, String label, int weight)
	{
		this.id 	= id;
		this.label 	= label;
		this.weight	= weight;
	}
		
	/**
	 * @return the label
	 */
	public String getLabel()
	{
		return label;
	}

	/**
	 * @return the weight
	 */
	public int getWeight()
	{
		return weight;
	}

	public String getId()
	{
		// TODO Auto-generated method stub
		return id;
	}

	public String toString()
	{
		return "Tag :"+getLabel()+"\n"+
			   "Weight :"+getWeight();
	}
}
